<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>html可以正常运行</div>
    <div id="wxcode"></div>
    <script type='text/javascript' src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
    <script>
        var param = {
            self_redirect: false,
            id: "wxcode",
            // appid: this.appid,
            // scope: this.scope,
            // redirect_uri: this.redirect_uri,
            // state: "",
            // style: "black",
            // href: "",
        };
        var obj = new WxLogin(param);
        console.log({ obj });
    </script>
</body>

</html>